// import './assets/main.css'

import { createApp } from 'vue';
import App from './App.vue';
import tree from '../../packages/components/tree';
import icon from '../../packages/components/icon';
// 所有组件的样式都存放在theme-chalk里，这里导入了，就需要宿主支持处理scss文件
import '@greaclar-ui/theme-chalk/src/index.scss';
const APP = createApp(App);

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
APP.use(ElementPlus)

const components = [icon, tree];
components.forEach(component => {
  APP.use(component);
});

APP.mount('#app');
